// import Layout from '../view/layout/Layout.vue'
const RolesRoutes = {
    path: "/sys/role",
    component: () => import('../view/layout/Layout.vue'),
    // 定义/user的子路由
    // 访问/user时，自动跳转到list
    redirect: "/sys/role/list",
    children: [
        // {
        //     path: 'add',
        //     component: ()=> import('../view/user/Add.vue')
        // },
        {
            path: 'list',
            component: ()=> import('../view/roles/RolesList.vue')
        },
        {
            path: 'rolepermission',
            component: ()=> import('../view/roles/RolesPermission.vue')
        },
    ]
}
export default RolesRoutes